﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="bill.aspx.cs" Inherits="WebApp.admin.bill.bill" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
        <link href="../css/skin.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="maincontent">
              <div  class="navgater"><img src="../images/module.gif" width="20" height="22" alt=""/>
所在位置：票据列表->票据添加

<a style=" display:block; float:right;" href="javascript:location.href=document.referrer;" ><img src="../images/history.gif" border="0" /></a>
</div>

  <table width="100%" border="0" cellpadding="5" cellspacing="0">
  

    <tr>
      <td align="right" class="title01">
          发票类型：</td>
      <td align="left">
          <asp:RadioButtonList ID="rblClass" runat="server" RepeatDirection="Horizontal"  Width="180px"   AutoPostBack="true"
              onselectedindexchanged="rblClass_SelectedIndexChanged">
              <asp:ListItem Selected="True" Value="普通发票">普通发票</asp:ListItem>
              <asp:ListItem>增值税发票</asp:ListItem>
          </asp:RadioButtonList>
        </td>
    </tr>

    <tr>
      <td align="right" class="title01">
          发票内容：</td>
      <td align="left">
          <asp:DropDownList ID="ddlBillType" runat="server">
          </asp:DropDownList>
        </td>
    </tr>
    <tr>
      <td width="36%" align="right" class="title01">金  额(元)：</td>
      <td width="64%" align="left">
        <asp:TextBox ID="txtMoney" runat="server" Width="100px" MaxLength="7" ></asp:TextBox>*<asp:RequiredFieldValidator 
              ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtMoney" 
              ErrorMessage="金额不能为空！"></asp:RequiredFieldValidator>
        </td>
    </tr>

        <tr id="trTitleName" runat="server">
      <td width="36%" align="right" class="title01">开票抬头：</td>
      <td width="64%" align="left">
      <asp:TextBox ID="txtTitleName" runat="server" Width="400px" MaxLength="200"></asp:TextBox>*<asp:RequiredFieldValidator 
              ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtTitleName" 
              ErrorMessage="开票抬头不能为空！"></asp:RequiredFieldValidator>
          </td>
    </tr>
  
        <tr id="trTaxer" runat="server">
      <td width="36%" align="right" class="title01">纳税人识别名：</td>
      <td width="64%" align="left">
      <asp:TextBox ID="txtTaxer" runat="server" Width="400px" MaxLength="200"></asp:TextBox>
          *<asp:RequiredFieldValidator 
              ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtTaxer" 
              ErrorMessage="纳税人识别名不能为空！"></asp:RequiredFieldValidator>
          </td>
    </tr>
  
        <tr  id="trAddressTel" runat="server">
      <td width="36%" align="right" class="title01">地址、电话：</td>
      <td width="64%" align="left">
      <asp:TextBox ID="txtAddressTelphone" runat="server" Width="400px" MaxLength="200"></asp:TextBox>
          *<asp:RequiredFieldValidator 
              ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtAddressTelphone" 
              ErrorMessage="地址、电话不能为空！"></asp:RequiredFieldValidator>
          </td>
    </tr>
  
        <tr id="trBankCode" runat="server">
      <td width="36%" align="right" class="title01">开户行及账号：</td>
      <td width="64%" align="left">
      <asp:TextBox ID="txtBankCode" runat="server" Width="400px" MaxLength="200"></asp:TextBox>
          *<asp:RequiredFieldValidator 
              ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtBankCode" 
              ErrorMessage="开户行及账号不能为空！"></asp:RequiredFieldValidator>
          </td>
    </tr>
  
    <tr>
      <td align="right" class="title01">经销商：</td>
      <td align="left">
       <asp:DropDownList ID="ddlCompany" runat="server" ></asp:DropDownList>
          *<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
              ControlToValidate="ddlCompany" ErrorMessage="请选择经销商！"></asp:RequiredFieldValidator>
        </td>
    </tr>

        <tr>
      <td align="right" class="title01">备  注：</td>
      <td align="left">   
          <asp:TextBox ID="txtRemark" runat="server" Height="100px" 
              TextMode="MultiLine" Width="400px" MaxLength="500"></asp:TextBox></td>
    </tr>




    <tr>
      <td align="center" colspan="2">
         <asp:Button ID="btnSubmit" runat="server" Text="确  定" CssClass="formButton" OnClick="btnSubmit_Click"/>&nbsp;&nbsp;&nbsp;&nbsp;
                               
                                    <input id="btnBack" type="button" class="formButton" value=" 返  回 " onclick="location.href='billList.aspx';" />
                                    </td>
    </tr>
  </table>

    </div>
    </form>
</body>
</html>
